package com.maopuyu.repositories;

import com.maopuyu.entity.Series;
import com.maopuyu.entity.Video;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface SeriesRepository extends CrudRepository<Series, Integer> {
    List<Series> findAllByRegionId(Integer regionId);

    List<Series> findAll();
}
